#include <stdio.h>
#include <stdlib.h>
#include <stdbool.h>
typedef bool (*myfunc) (int a);
bool fn(int a) {
    return (a == 1);
}

int main(int argc, char** argv) {
    myfunc func;
    func=fn;
    printf("size: %d\n", sizeof(func));
    printf("res: %d\n", func(1));
    return 0;
}
